package com.example.seh;

import java.io.Serializable;

public class UserDTO implements Serializable {

        private Integer userId;
        //用户名
        private String username;
        //用户昵称
        private String nickname;
        //用户性别，0表示未知，1表示男，2表示女
        private int gender;
        //用户手机号码
        private String phone;
        //用户登录密码
        private String password;
        //用户支付密码
        private String payPassword;
        //用户头像
        private String pic;

        //用户评分
        private double rating;
        //用户邮箱
        private String email;
        //收货地址
        private String address;
        //寄件地址
        private String sendAddress;
        //逻辑删除
        private Integer isDel;
        //ip地址
        private String ipAddress;

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(String payPassword) {
        this.payPassword = payPassword;
    }

    public double getRating() {
        return rating;
    }

    public void setRating(double rating) {
        this.rating = rating;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSendAddress() {
        return sendAddress;
    }

    public void setSendAddress(String sendAddress) {
        this.sendAddress = sendAddress;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    @Override
    public String toString() {
        return "UserDTO{" +
                "userId=" + userId +
                ", username='" + username + '\'' +
                ", nickname='" + nickname + '\'' +
                ", gender=" + gender +
                ", phone='" + phone + '\'' +
                ", password='" + password + '\'' +
                ", payPassword='" + payPassword + '\'' +
                ", pic='" + pic + '\'' +
                ", rating=" + rating +
                ", email='" + email + '\'' +
                ", address='" + address + '\'' +
                ", sendAddress='" + sendAddress + '\'' +
                ", isDel=" + isDel +
                ", ipAddress='" + ipAddress + '\'' +
                '}';
    }
}
